package com.test.designPattern.structuralType.bridgePattern;

/**
 * 桥接模式客户端测试
 *
 * @author wangjie
 * @version V1.0
 * @date 2020/4/5
 */
public class Client {

    public static void main(String[] args) {
        AbstractionShape circle = new Circle();
        circle.SetColour(new RedColour());
        circle.Shape();
        circle.colour.fill();
        AbstractionShape square = new Square();
        square.SetColour(new BlueColour());
        square.Shape();
        square.colour.fill();
    }
}
